CSharpTest.Net
AddOrUpdate Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > IConcurrentDictionary<TKey,TValue> Interface : AddOrUpdate Method

Glossary Item Box

Adds a key/value pair to the IDictionary if the key does not already exist, or updates a key/value pair if the key already exists.

Overload List

OverloadDescription
AddOrUpdate(TKey,TValue,KeyValueUpdate<TKey,TValue>)Adds a key/value pair to the IDictionary if the key does not already exist, or updates a key/value pair if the key already exists.  
AddOrUpdate(TKey,Converter<TKey,TValue>,KeyValueUpdate<TKey,TValue>)Adds a key/value pair to the IDictionary if the key does not already exist, or updates a key/value pair if the key already exists.  
AddOrUpdate<T>(TKey,T)Add, update, or fetche a key/value pair from the dictionary via an implementation of the ICreateOrUpdateValue<TKey,TValue> interface.  

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys